-
Couldn't load subscription status.
- Fork 1.4k
[RF] ToyMCSampler improvements for binned toys #20171
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
|
This PR is still WIP. This is because the use case relies on #20097 being merged first (even though the functionalities are not closely related). |
|
I have merged #20097. Could you please rebase this PR? Also, could you please add a commit where you add both of you to the list of contributors for ROOT 6.38 (insert in alphabetical order)? Thanks a lot! |
Test Results 22 files 22 suites 3d 18h 55m 45s ⏱️ For more details on these failures, see this check. Results for commit b2f731f. ♻️ This comment has been updated with latest results. |
fbb3468 to
c5dddab
Compare
c5dddab to
6dbedd7
Compare
Thanks a lot! Done and done. I've removed the WIP marker now. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you very much! This change makes sense to me.
| // --- Ensure the ToyMCSampler generates toys with the same structure as the observed data | ||
| toymcs->SetProtoData(&data); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a change in behavior that likely causes the RooStats tests to fail. I'll take a look.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This Pull request:
Adds the ability to control the ToyMCSampler to emit binned toys.
Makes use of this new capability in the HypoTestCalculator in cases where the observed data is binned.
Checklist:
This PR fixes #